package com.suny.DataDic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 牲畜品种信息表
 * @TableName data_dic
 */
@Schema(name = "牲畜品种信息实体",description = "牲畜品种信息实体")
@TableName(value ="data_dic")
@Data
public class DataDic implements Serializable {
    /**
     * 
     */
    @Schema(name = "id",description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 字典名称
     */
    @Schema(name = "name",description = "字典名称")
    private String name;

    /**
     * 字典状态(1:启用,0:停用)
     */
    @Schema(name = "status",description = "字典状态(1:启用,0:停用)")
    private Integer status;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "createdTime",description = "创建时间")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "updatedTime",description = "更新时间")
    private Date updatedTime;

}